<html>
    <head>
        <title>
            Система управления сайтом System 68 v2.0
        </title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="<?=base_url();?>/style.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="/include/lightbox.css" type="text/css" media="screen" />
		<script type="text/javascript" src="<?=base_url();?>/js/tiny_mce/tiny_mce.js"></script>
		<script type="text/javascript">
		tinyMCE.init({
				// General options
				mode : "textareas",
				theme : "advanced",
				language : "ru",
				plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
		 
				// Theme options
				theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
				theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
				theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
				theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",
				theme_advanced_toolbar_location : "top",
				theme_advanced_toolbar_align : "left",
				theme_advanced_statusbar_location : "bottom",
				theme_advanced_resizing : true,
		 
				// Skin options
				skin : "o2k7",
				skin_variant : "silver",
		 
				// your site CSS
				content_css : "css/all.css"
		});
		</script>
    </head>
    <body>
        <div id="body">
            <table class="main">
                <tr class="main">
                    <td class="top">
                        <form action="" method="post" name="logoff">
                            <input type="hidden" name="exit">
                        </form>
                        Здравствуйте, <strong><?$auth_user = $this->im_auth->auth_id(); echo $auth_user['users_login'];?></strong>.<br>
                        <a class="logoff" href="<?=site_url();?>/welcome/logout">Завершить сеанс?</a>
                    </td>
                    <td class="name">
                        <h1>Система управления сайтом</h1>
                    </td>
                </tr>
                <!-- end top -->
                <!-- body -->
                <tr class="main">
                    <td class="menu">
                        <div class="menu">
                            <b>Управление:</b><br>
                            <a href="<?=site_url();?>/" class="menu">Статистика</a><br>
                            <!--<a href="./?page=config" class="menu">Общие настройки</a><br>-->
                            <a href="<?=site_url();?>/users" class="menu">Пользователи</a><br>
                            <a href="<?=site_url();?>/news" class="menu">Новости</a><br>
                            <a href="<?=site_url();?>/posts" class="menu">Посты</a><br>
                            <a href="<?=site_url();?>/pages" class="menu">Страницы</a><br>
                        </div>
                    </td>
                    <td class="body">